import http from '../service/http'

// get请求
//用户信息
export function getUserInfo() {
  return http.get('user/persistent/getUserInfo/undefined')
}
// post请求
// 确认按钮(修改个人信息)
export function postUserInfo(userId, params) {
  return http.post(`user/${userId}/modifyUserInfo`, params)
}
// 上传头像
export function uploadAvatar(userId, params) {
  return http.post(`user/${userId}/uploadAvatar`, params)
}
